package wkj.yuyanjichu;

import java.util.Arrays;

public class jiuyue13 {
    public static void main(String[] args) {
        a();//111
        say();
        sayHi("zs");//my name is:zs
        getNum();//8.88
        System.out.println(getNum());
        plus(1,1);//2
        System.out.println(plus(1,1));

    }
    public static void a(){
        b();
    }
    public static void b(){
        System.out.println(111);
    }
    //无参无返回值
    public static void say(){
        String name = "wkj";
    }
    //有参无返回值
    public static void sayHi(String name){
        System.out.println("my name is:"+name);
    }
    //无参有返回值
    public static double getNum(){
        return 8.88;
    }
    //有参有返回值
    public static int plus(int num1,int num2){
        int num = num1+num2;
        return num;
    }

}
